package com.xbongbong.saas.model;

import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.paas.toolbox.wrap.IModel;
import com.xbongbong.saas.domain.entity.BatchSeqOperationEntity;

import java.util.List;
import java.util.Map;

/**
 * @author jiyonghui
 * @className BatchSeqModel
 * @description
 * @date 2020/5/19   14:25
 */
public interface BatchSeqOperationModel extends IModel<BatchSeqOperationEntity> {


    @Override
    Integer insert(BatchSeqOperationEntity entity) throws XbbException;

    @Override
    List<BatchSeqOperationEntity> findEntitys(Map<String, Object> param);


    /**
     * 一次查询多个产品返回他们每个产品最大的id记录
     * @param param
     * @return
     */
    List<BatchSeqOperationEntity> findMaxIdEntitys(Map<String, Object> param);
}
